import {createRouter, createWebHistory} from 'vue-router'


const router = createRouter({
  history:createWebHistory(''),
  routes:[
    {
      path:'/',
      component:()=>import('@/pages/Layout/index.vue'),
      // redirect:'/home',
      // children:[
        
      // ]
      meta:{
        title:'工作台'
      }
    },
    {
      path:'/login',
      component:()=>import('@/pages/Login/index.vue'),
      meta:{
        title:'登录'
      }
    }
  ],
})

export default router